count=$(pgrep frpc.sh | wc -l)
if [ 0 == "$count" ]; then
  nohup .termux/boot/frpc.sh > /dev/null 2>&1 &
  echo "frpc has started"
else
  echo "frpc is running"
fi

count=$(pgrep ss-server | wc -l)
if [ 0 == "$count" ]; then
  nohup .termux/boot/ss-server.sh > /dev/null 2>&1 &
  echo "ss-server has started"
else
  echo "ss-server is running"
fi

count=$(pgrep sshd | wc -l)
if [ 0 == "$count" ]; then
  nohup .termux/boot/sshd.sh > /dev/null 2>&1 &
  echo "sshd has started"
else
  echo "sshd is running"
fi